﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace iMall.AtoZ.Helper
{
    public interface IDAL<T>
    {
        bool Insert ( T entity );
        bool Upadte ( T entity );
        bool Delete ( int id );
        T GetByID ( int id );
        List<T> GetAll ( );
        List<T> GetByBatchID ( Guid batchID );
    }
}